<?php


namespace app\dao;


use app\dao\query\OrderQueryDao;
use app\model\Order;

class OrderDao extends BaseDao
{
    private $_customQuery;

    public function __construct()
    {
        $this->_customQuery = new OrderQueryDao();
    }

    protected function setModel(): string
    {
        return Order::class;
    }

    public function customQuery()
    {
        return $this->_customQuery;
    }

}